package com.jingdianjichi.auth.domain.converter;

import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/*
* AuthUserBOConverter
* */
@Mapper
public interface AuthUserBOConverter {

    AuthUserBOConverter Instance = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser BOToEntityConverter(AuthUserBO authUserBO);

    AuthUserBO EntityToBOConverter(AuthUser authUser);
}
